Skip to main content

Runme with Next.js App on Vercel

This example can be found in the vercel sub-folder. You can manually check out this example by opening it with Runme.

Setup/Environment

Similar to the last example, we can do our setup, starting, and opening of the web browser using Runme:

setup environment in vs code

In a future version of Runme, we'd like to support "execution groups," so that you can execute all of the above scripts in one go!

Authentication

Interactive terminals are perfect for providing a CLI login to the user:

deploy application in vercel

List Projects

Remember, cells can capture the output of commands in non-interactive mode!

In this case, this can be used to get a list of the user's current registered projects with the Vercel platform.

list projects in vercel

run hello world in vs code